package com.yilin.platform.service;

import com.google.gson.reflect.TypeToken;
import com.yilin.platform.entity.user.deserialize.Account;
import com.yilin.platform.entity.user.AccountConfigure;

import java.util.Map;

public interface IUserService {
    Account loginToYilin(String username, String customerKey);

    Account getYilinLoginUser(String token);

    AccountConfigure getAccountConfigure();




    <T> T request(String path, Map<String, Object> param, TypeToken<T> typeToken);

    <T> T request(String path, String apiToken, Map<String, Object> param, TypeToken<T> typeToken);


    String getYilinWebUrl();

    String getYilinBaseUrl();
}
